<form action="index.php?action=users_new&amp;step=3" method="post" name="frmUserInfo">
<?php
	global $SSO, $Security, $AppID, $User, $DB;
	//Check to see if there is a valid session 
	$SessionInfo = $SSO->isValidSession("index.php?action=login", $SSO->getSessionInformation());	
	
	//Check to see if the user has rights to be on LWAdmin
	$PageRights = array('ADMIN', 'USERADMIN');
	$Security->ValidateUser($SessionInfo['username'], $AppID, $PageRights, 1);

	if(!isset($_GET['username']) && !isset($_POST['val_username']))
	{
		print "<span class='TB1'>User Error: No Username Provided by Previous Step</span><br>";
		print "<a href='index.php?action=users' class='L1'>Back to the Users Page...</a></td><td width='33%'>&nbsp;</td></tr></table></td></tr></table>";
		exit();
	}
	
	include('users_info.php');
?>	
</form>
